﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.ErrorCode
{/// <summary>
 /// Api响应封装类
 /// </summary>
 /// <typeparam name="T"></typeparam>
    public class ApiResult<T>
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public BaseEnums Code { get; set; }
        /// <summary>
        ///响应数据
        /// </summary>
        public T? Data { get; set; }
        /// <summary>
        /// 响应消息
        /// </summary>
        public string Msg { get; set; }
    }
}
